//
//  GYSettingRowItem.h
//  01-城觅
//
//  Created by xiaomage on 16/8/17.
//  Copyright © 2016年 小码哥. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface GYSettingRowItem : NSObject

//图片
@property (nonatomic, strong) UIImage *image;
//标题
@property (nonatomic, strong) NSString *title;
//子标题
@property (nonatomic, strong) NSString *subTitle;

/**
 *  要跳转控制器的名称
 */
@property (nonatomic, assign) Class desClass;

/**
 *  点击每一行要执行什么任务
 */
@property (nonatomic, copy) void(^desTask)(NSIndexPath *indexPath);


+ (instancetype)itemWithImage:(UIImage *)image title:(NSString *)title;
+ (instancetype)itemWithImage:(UIImage *)image title:(NSString *)title subTitle:(NSString *)subTitle;

@end
